package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.common.result.ResultData;
import com.j283_5.wisdom_park.pojo.Project;
import com.j283_5.wisdom_park.vo.confcenter_management.ProjectVo;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface ProjectService extends IService<Project> {

    /**
     * 多条件查询项目信息
     * @param page
     * @param project
     * @return
     */
    ResultData getProjectPage(Page<Project> page,Project project);


    /**
     * 添加项目信息
     * @param projectVo
     * @return
     */
    ResultData addProjectInfo(ProjectVo projectVo);

    /**
     * 删除项目信息
     * @param proIdlist
     * @return
     */
    ResultData deleteProjectInfo(ArrayList<Integer> proIdlist);

    /**
     * 修改项目信息
     * @param project
     * @return
     */
    ResultData updateProjectInfo(Project project);
}
